function [patient]=choose_patient_toolbox(pt);
    %|------------------------------------------------------------------------|
    %|  Define paths for patient data;
    %|      folder_static =  *_sync folder containing raw image files and
    %                       data structures conatining bellows voltages and 
    %|                      dicom header info.
    %|      folder = folder where model data will be created.
    %| Suggested folders;
    %|     folder_static = Patients/patient#1/dicom_folders/pt1_sync;
    %|     folder        = Patients/patient#1/pt1/;
    %|------------------------------------------------------------------------|
    
    %| IN;
    %|          pt = patient number;
    %|------------------------------------------------------------------------|
    %   This file is part of the
    %   5D-Novel4DCT Toolbox  ("Novel4DCT-Toolbox")
    %   DH Thomas, Ph.D
    %   University of California, Los Angeles
    %   Contact: mailto:dhthomas@mednet.ucla.edu
    %------------------------------------------------------------------------
    % $Author: DHThomas $	$Date: 2014/04/01 10:23:59 $	$Revision: 0.1 $

    
    patient.ref = 1; % defualt reference image = scan #1;
    patient.scans = 25;
    %patient.elastix_root_folder = 'C:\Program Files (x86)\elastix_v4.6';
    patient.elastix_root_folder = 'C:/Program Files/elastix';
    
    if pt==1;
        patient.folder_static = 'E:\Patient_Data_E\pt1\082833\082833_sync'
        patient.folder='E:/Patient_Data_E/pt1/pt1';
        patient.folder_elastix = [patient.folder '/Registrations/Lung_sliding' ];
        patient.static_image_name = 'scan_1_cut.mhd';
        patient.static_mask_name = 'scan_1_mask_cut.mhd';
        patient.static_body_name = 'scan_1_mask_body_cut.mhd';

    elseif pt==2;
        
        patient.folder_static = 'E:/Patient_Data_E/pt2/161122/161122_sync'
        patient.folder='E:/Patient_Data_E/pt2/pt2';
        patient.folder_elastix = [patient.folder '/Registrations/Lung_sliding' ];
        patient.static_image_name = 'scan_1_cut.mhd';
        patient.static_mask_name = 'scan_1_mask_cut.mhd';
        patient.static_body_name = 'scan_1_mask_body_cut.mhd';
        
    elseif pt==3
        patient.folder_static = 'E:\Patient_Data_E\pt3\073317\073317_sync'
        patient.folder='E:\Patient_Data_E\pt3\pt3';
        patient.folder_elastix = [patient.folder '/Registrations/Lung_sliding' ];
        patient.static_image_name = 'scan_1_full.mhd';
        patient.static_mask_name = 'scan_1_mask_full.mhd';
        patient.static_body_name = 'scan_1_body_full.mhd';

    elseif pt==4
        patient.folder='E:\Patient_Data_E\pt4\pt4';
        patient.folder_static='E:\Patient_Data_E\pt4\140802\140802_sync';
        patient.folder_elastix = [patient.folder '/Registrations/Lung_sliding' ];
        patient.static_image_name = 'scan_1_cut.mhd';
        patient.static_mask_name = 'scan_1_mask_cut.mhd';
        patient.static_body_name = 'scan_1_body_cut.mhd';
 

    elseif pt==5
        patient.scans = 15
        patient.folder='E:\Patient_Data_E\pt5\pt5';
        patient.folder_static='E:\Patient_Data_E\pt5\161401\161401_sync';
        patient.folder_elastix = [patient.folder '/Registrations/Lung_sliding' ];
        patient.static_image_name = 'scan_1_cut.mhd';
        patient.static_mask_name = 'scan_1_mask_cut.mhd';
        patient.static_body_name = 'scan_1_mask_body_cut.mhd';

    elseif pt==6

    elseif pt==7
        patient.folder_static = 'E:/Patient_Data_E/pt7/4209977/0747/0747_sync'
        patient.folder='E:/Patient_Data_E/pt7/pt7';
        patient.folder_elastix = [patient.folder '/Registrations/Lung_sliding' ];
        patient.static_image_name = 'scan_1_cut.mhd';
        patient.static_mask_name = 'scan_1_mask_cut.mhd';
        patient.static_body_name = 'scan_1_body_cut.mhd';

    elseif pt==8;
        
    elseif pt==9;
        patient.folder = 'E:\Patient_Data_E\pt9\pt9'
        patient.folder_static = 'E:\Patient_Data_E\pt9\2290982\2290982_sync';
        %folder_static='F:\Patient_Data_AW_2\pt9\2290982\1553\1553_sync';
        patient.static_image_name = 'scan_1.mhd';
        patient.static_mask_name = 'scan_1_mask_cut.mhd';
        patient.static_body_name = 'scan_1_body_cut.mhd';

    elseif pt==10;
        patient.folder = 'E:\Patient_Data_E\pt10\pt10';%'E:\DHThomas\Patient_Data_AW\pt10\pt10';%
        patient.folder_static='E:\Patient_Data_E\pt10\1.545367e+05\1.545367e+05_sync';%'E:\DHThomas\Patient_Data_AW\pt10\1.545367e+05\1.545367e+05_sync';%
        %         ref=1;
        patient.folder_elastix = [patient.folder '\Registrations\Lung_sliding\' ];
        patient.static_image_name = 'scan_1.mhd';
        patient.static_mask_name = 'scan_1_mask_cut.mhd';
        patient.static_body_name = 'scan_1_body_cut.mhd';


    elseif pt==11;

    elseif pt==102;
        
    elseif pt==92;

    elseif pt==62;
        
    elseif pt==112;
      
    elseif pt == 1001;
        patient.folder_static = 'E:\Patient_Data_E\Clinical\pt11\140522\0747_sync'
        patient.folder='E:\Patient_Data_E\Clinical\pt11\p11\';
        patient.folder_elastix = [patient.folder '/Registrations/Lung_sliding' ];
        patient.static_image_name = 'scan_1_cut.mhd';
        patient.static_mask_name = 'scan_1_mask_cut.mhd';
        patient.static_body_name = 'scan_1_body_cut.mhd';
     elseif pt == 1002;
        patient.folder_static = 'E:\Patient_Data_E\Clinical\pt2\MAYFIELD_R\1549\1549_sync'
        patient.folder='E:\Patient_Data_E\Clinical\pt2\pt2';
        patient.folder_elastix = [patient.folder '/Registrations/Lung_sliding' ];
        patient.static_image_name = 'scan_1_cut.mhd';
        patient.static_mask_name = 'scan_1_mask_cut.mhd';
        patient.static_body_name = 'scan_1_mask_body_cut.mhd';
        elseif pt == 1003;
        patient.folder_static = 'E:\Patient_Data_E\Clinical\pt3\SEGAR\CTSCANS\1710\1710_sync'
        patient.folder='E:\Patient_Data_E\Clinical\pt3\pt3';
        patient.folder_elastix = [patient.folder '/Registrations/Lung_sliding' ];
        patient.static_image_name = 'scan_1_cut.mhd';
        patient.static_mask_name = 'scan_1_mask_cut.mhd';
        patient.static_body_name = 'scan_1_mask_body_cut.mhd';
    end
end
